<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:Mal.Balades.Admin.Controls">


    <Style TargetType="local:HtmlTextEditor">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="local:HtmlTextEditor">
                    <Grid Height="{TemplateBinding Height}">
                        <Grid.RowDefinitions>
                            <RowDefinition Height="20" />
                            <RowDefinition />
                        </Grid.RowDefinitions>
                        <Border Grid.Row="0" Background="LightGray" >
                            <StackPanel Orientation="Horizontal">
                                <Button x:Name="PART_Paragraph" Content="Paragraphe" />
                                <Button x:Name="PART_Bold" Content="Gras" />
                                <Button x:Name="PART_Return" Content="Saut de ligne" />
                            </StackPanel> 
                            
                        </Border>
                        
                        <TextBox Grid.Row="1" x:Name="PART_Text"
                            TextWrapping="Wrap" AcceptsReturn="True" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>
